<template>
  <view class="my-component">
	<view style="width: 100%;padding-top: 300rpx;">
		<view class="NoData-img">
			<image src="/static/zwsj.png" mode=""></image>
		</view>
		<view class="NoData-txt">暂无数据</view>
	</view>
  </view>
</template>
 
<script>
	export default {
		components: {},
		data() {
			return {
				windowHeight: "200px", 
			}
		},
		onLoad() {
			this.GaoDu() //判断手机高度
		},
		methods: {
			clickBtn(){
				console.log('www')
			},
			// 判断手机高度
			GaoDu() {
				console.log('12356')
				// 判断手机页面的高度
				uni.getSystemInfo({

					success: (res) => {
						this.windowHeight = res.windowHeight + "px";
					}
				})
			},
		}
	}
</script>
 
<style>
	.NoData-img{
		width: 230rpx;
		height: 200rpx;
		margin: auto;
	}
	.NoData-img image{
		width: 100%;
		height: 100%;
	}
	.NoData-txt{
		text-align: center;
		padding-top: 20rpx;
		font-size: 32rpx;
		color: #D1D1D1;
	}
</style>